package com.smdt.tools.log.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author guass
 * @date 2022年04月21日 14:09
 */
@ConfigurationProperties("smdt.tools.log")
public class LogProperties {

    private int corePoolSize = 5;

    private int maxPoolSize = 10;

    private int queueCapacity = 256;

    private String threadNamePrefix = "smdt-tools-log-";

    public int getCorePoolSize() {
        return corePoolSize;
    }

    public void setCorePoolSize(int corePoolSize) {
        this.corePoolSize = corePoolSize;
    }

    public int getMaxPoolSize() {
        return maxPoolSize;
    }

    public void setMaxPoolSize(int maxPoolSize) {
        this.maxPoolSize = maxPoolSize;
    }

    public int getQueueCapacity() {
        return queueCapacity;
    }

    public void setQueueCapacity(int queueCapacity) {
        this.queueCapacity = queueCapacity;
    }

    public String getThreadNamePrefix() {
        return threadNamePrefix;
    }

    public void setThreadNamePrefix(String threadNamePrefix) {
        this.threadNamePrefix = threadNamePrefix;
    }
}
